#ifndef _CPROPERTYDIALOG_H_
#define _CPROPERTYDIALOG_H_

#include <buola/gui/cwindow.h>

namespace buola { namespace gui {

class CPropertyDialog : public CWindow
{
public:
    CPropertyDialog()
    {
    }
    
////////////// event handling //////////////
    void OnOK();
    void OnCancel();
    void OnApply();

public:
    void AddPage(IPropertyPage *pPage);

    int mResult;

protected: 
    PTabBox mTabBox;

    std::vector<IPropertyPage*> mPages;

    PButton mOKButton;
    PButton mCancelButton;
    PButton mApplyButton;
};

/*namespace gui*/ } /*namespace buola*/ }

#endif
